/*     */ package com.zimbra.cs.service.admin;
/*     */ 
/*     */ import com.zimbra.common.service.ServiceException;
/*     */ import com.zimbra.common.soap.AdminConstants;
/*     */ import com.zimbra.common.soap.Element;
/*     */ import com.zimbra.common.util.StringUtil;
/*     */ import com.zimbra.soap.DocumentDispatcher;
/*     */ import com.zimbra.soap.DocumentService;
/*     */ import java.util.HashMap;
/*     */ import java.util.Map;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public class AdminService
/*     */   implements DocumentService
/*     */ {
/*     */   public void registerHandlers(DocumentDispatcher dispatcher)
/*     */   {
/*  39 */     dispatcher.registerHandler(AdminConstants.PING_REQUEST, new Ping());
/*  40 */     dispatcher.registerHandler(AdminConstants.CHECK_HEALTH_REQUEST, new CheckHealth());
/*  41 */     dispatcher.registerHandler(AdminConstants.GET_ALL_LOCALES_REQUEST, new GetAllLocales());
/*     */     
/*  43 */     dispatcher.registerHandler(AdminConstants.AUTH_REQUEST, new Auth());
/*  44 */     dispatcher.registerHandler(AdminConstants.CREATE_ACCOUNT_REQUEST, new CreateAccount());
/*  45 */     dispatcher.registerHandler(AdminConstants.CREATE_GAL_SYNC_ACCOUNT_REQUEST, new CreateGalSyncAccount());
/*  46 */     dispatcher.registerHandler(AdminConstants.ADD_GAL_SYNC_DATASOURCE_REQUEST, new AddGalSyncDataSource());
/*  47 */     dispatcher.registerHandler(AdminConstants.DELEGATE_AUTH_REQUEST, new DelegateAuth());
/*  48 */     dispatcher.registerHandler(AdminConstants.DELETE_GAL_SYNC_ACCOUNT_REQUEST, new DeleteGalSyncAccount());
/*  49 */     dispatcher.registerHandler(AdminConstants.GET_ACCOUNT_REQUEST, new GetAccount());
/*  50 */     dispatcher.registerHandler(AdminConstants.GET_ACCOUNT_INFO_REQUEST, new GetAccountInfo());
/*  51 */     dispatcher.registerHandler(AdminConstants.GET_ALL_ACCOUNTS_REQUEST, new GetAllAccounts());
/*  52 */     dispatcher.registerHandler(AdminConstants.GET_ALL_ADMIN_ACCOUNTS_REQUEST, new GetAllAdminAccounts());
/*  53 */     dispatcher.registerHandler(AdminConstants.MODIFY_ACCOUNT_REQUEST, new ModifyAccount());
/*  54 */     dispatcher.registerHandler(AdminConstants.DELETE_ACCOUNT_REQUEST, new DeleteAccount());
/*  55 */     dispatcher.registerHandler(AdminConstants.SET_PASSWORD_REQUEST, new SetPassword());
/*  56 */     dispatcher.registerHandler(AdminConstants.CHECK_PASSWORD_STRENGTH_REQUEST, new CheckPasswordStrength());
/*  57 */     dispatcher.registerHandler(AdminConstants.ADD_ACCOUNT_ALIAS_REQUEST, new AddAccountAlias());
/*  58 */     dispatcher.registerHandler(AdminConstants.REMOVE_ACCOUNT_ALIAS_REQUEST, new RemoveAccountAlias());
/*  59 */     dispatcher.registerHandler(AdminConstants.SEARCH_ACCOUNTS_REQUEST, new SearchAccounts());
/*  60 */     dispatcher.registerHandler(AdminConstants.RENAME_ACCOUNT_REQUEST, new RenameAccount());
/*     */     
/*  62 */     dispatcher.registerHandler(AdminConstants.SEARCH_DIRECTORY_REQUEST, new SearchDirectory());
/*  63 */     dispatcher.registerHandler(AdminConstants.GET_ACCOUNT_MEMBERSHIP_REQUEST, new GetAccountMembership());
/*     */     
/*  65 */     dispatcher.registerHandler(AdminConstants.CREATE_DOMAIN_REQUEST, new CreateDomain());
/*  66 */     dispatcher.registerHandler(AdminConstants.GET_DOMAIN_REQUEST, new GetDomain());
/*  67 */     dispatcher.registerHandler(AdminConstants.GET_DOMAIN_INFO_REQUEST, new GetDomainInfo());
/*  68 */     dispatcher.registerHandler(AdminConstants.GET_ALL_DOMAINS_REQUEST, new GetAllDomains());
/*  69 */     dispatcher.registerHandler(AdminConstants.MODIFY_DOMAIN_REQUEST, new ModifyDomain());
/*  70 */     dispatcher.registerHandler(AdminConstants.DELETE_DOMAIN_REQUEST, new DeleteDomain());
/*     */     
/*  72 */     dispatcher.registerHandler(AdminConstants.CREATE_COS_REQUEST, new CreateCos());
/*  73 */     dispatcher.registerHandler(AdminConstants.COPY_COS_REQUEST, new CopyCos());
/*  74 */     dispatcher.registerHandler(AdminConstants.GET_COS_REQUEST, new GetCos());
/*  75 */     dispatcher.registerHandler(AdminConstants.GET_ALL_COS_REQUEST, new GetAllCos());
/*  76 */     dispatcher.registerHandler(AdminConstants.MODIFY_COS_REQUEST, new ModifyCos());
/*  77 */     dispatcher.registerHandler(AdminConstants.DELETE_COS_REQUEST, new DeleteCos());
/*  78 */     dispatcher.registerHandler(AdminConstants.RENAME_COS_REQUEST, new RenameCos());
/*     */     
/*  80 */     dispatcher.registerHandler(AdminConstants.CREATE_SERVER_REQUEST, new CreateServer());
/*  81 */     dispatcher.registerHandler(AdminConstants.GET_SERVER_REQUEST, new GetServer());
/*  82 */     dispatcher.registerHandler(AdminConstants.GET_ALL_SERVERS_REQUEST, new GetAllServers());
/*  83 */     dispatcher.registerHandler(AdminConstants.MODIFY_SERVER_REQUEST, new ModifyServer());
/*  84 */     dispatcher.registerHandler(AdminConstants.DELETE_SERVER_REQUEST, new DeleteServer());
/*     */     
/*  86 */     dispatcher.registerHandler(AdminConstants.CREATE_ALWAYSONCLUSTER_REQUEST, new CreateAlwaysOnCluster());
/*  87 */     dispatcher.registerHandler(AdminConstants.GET_ALWAYSONCLUSTER_REQUEST, new GetAlwaysOnCluster());
/*  88 */     dispatcher.registerHandler(AdminConstants.GET_ALL_ALWAYSONCLUSTERS_REQUEST, new GetAllAlwaysOnClusters());
/*  89 */     dispatcher.registerHandler(AdminConstants.MODIFY_ALWAYSONCLUSTER_REQUEST, new ModifyAlwaysOnCluster());
/*  90 */     dispatcher.registerHandler(AdminConstants.DELETE_ALWAYSONCLUSTER_REQUEST, new DeleteAlwaysOnCluster());
/*     */     
/*  92 */     dispatcher.registerHandler(AdminConstants.CREATE_UC_SERVICE_REQUEST, new CreateUCService());
/*  93 */     dispatcher.registerHandler(AdminConstants.GET_UC_SERVICE_REQUEST, new GetUCService());
/*  94 */     dispatcher.registerHandler(AdminConstants.GET_ALL_UC_SERVICES_REQUEST, new GetAllUCServices());
/*  95 */     dispatcher.registerHandler(AdminConstants.MODIFY_UC_SERVICE_REQUEST, new ModifyUCService());
/*  96 */     dispatcher.registerHandler(AdminConstants.DELETE_UC_SERVICE_REQUEST, new DeleteUCService());
/*  97 */     dispatcher.registerHandler(AdminConstants.RENAME_UC_SERVICE_REQUEST, new RenameUCService());
/*     */     
/*  99 */     dispatcher.registerHandler(AdminConstants.GET_CONFIG_REQUEST, new GetConfig());
/* 100 */     dispatcher.registerHandler(AdminConstants.GET_ALL_CONFIG_REQUEST, new GetAllConfig());
/* 101 */     dispatcher.registerHandler(AdminConstants.MODIFY_CONFIG_REQUEST, new ModifyConfig());
/*     */     
/* 103 */     dispatcher.registerHandler(AdminConstants.GET_SERVICE_STATUS_REQUEST, new GetServiceStatus());
/*     */     
/* 105 */     dispatcher.registerHandler(AdminConstants.PURGE_MESSAGES_REQUEST, new PurgeMessages());
/* 106 */     dispatcher.registerHandler(AdminConstants.DELETE_MAILBOX_REQUEST, new DeleteMailbox());
/* 107 */     dispatcher.registerHandler(AdminConstants.GET_MAILBOX_REQUEST, new GetMailbox());
/*     */     
/* 109 */     dispatcher.registerHandler(AdminConstants.RUN_UNIT_TESTS_REQUEST, new RunUnitTests());
/*     */     
/* 111 */     dispatcher.registerHandler(AdminConstants.CHECK_AUTH_CONFIG_REQUEST, new CheckAuthConfig());
/* 112 */     dispatcher.registerHandler(AdminConstants.CHECK_GAL_CONFIG_REQUEST, new CheckGalConfig());
/* 113 */     dispatcher.registerHandler(AdminConstants.CHECK_HOSTNAME_RESOLVE_REQUEST, new CheckHostnameResolve());
/* 114 */     dispatcher.registerHandler(AdminConstants.CHECK_EXCHANGE_AUTH_REQUEST, new CheckExchangeAuth());
/* 115 */     dispatcher.registerHandler(AdminConstants.CHECK_DOMAIN_MX_RECORD_REQUEST, new CheckDomainMXRecord());
/*     */     
/* 117 */     dispatcher.registerHandler(AdminConstants.CREATE_VOLUME_REQUEST, new CreateVolume());
/* 118 */     dispatcher.registerHandler(AdminConstants.GET_VOLUME_REQUEST, new GetVolume());
/* 119 */     dispatcher.registerHandler(AdminConstants.GET_ALL_VOLUMES_REQUEST, new GetAllVolumes());
/* 120 */     dispatcher.registerHandler(AdminConstants.MODIFY_VOLUME_REQUEST, new ModifyVolume());
/* 121 */     dispatcher.registerHandler(AdminConstants.DELETE_VOLUME_REQUEST, new DeleteVolume());
/* 122 */     dispatcher.registerHandler(AdminConstants.GET_CURRENT_VOLUMES_REQUEST, new GetCurrentVolumes());
/* 123 */     dispatcher.registerHandler(AdminConstants.SET_CURRENT_VOLUME_REQUEST, new SetCurrentVolume());
/* 124 */     dispatcher.registerHandler(AdminConstants.CHECK_BLOB_CONSISTENCY_REQUEST, new CheckBlobConsistency());
/* 125 */     dispatcher.registerHandler(AdminConstants.EXPORT_AND_DELETE_ITEMS_REQUEST, new ExportAndDeleteItems());
/* 126 */     dispatcher.registerHandler(AdminConstants.DEDUPE_BLOBS_REQUEST, new DedupeBlobs());
/*     */     
/* 128 */     dispatcher.registerHandler(AdminConstants.CREATE_DISTRIBUTION_LIST_REQUEST, new CreateDistributionList());
/* 129 */     dispatcher.registerHandler(AdminConstants.GET_DISTRIBUTION_LIST_REQUEST, new GetDistributionList());
/* 130 */     dispatcher.registerHandler(AdminConstants.GET_ALL_DISTRIBUTION_LISTS_REQUEST, new GetAllDistributionLists());
/* 131 */     dispatcher.registerHandler(AdminConstants.ADD_DISTRIBUTION_LIST_MEMBER_REQUEST, new AddDistributionListMember());
/* 132 */     dispatcher.registerHandler(AdminConstants.REMOVE_DISTRIBUTION_LIST_MEMBER_REQUEST, new RemoveDistributionListMember());
/* 133 */     dispatcher.registerHandler(AdminConstants.MODIFY_DISTRIBUTION_LIST_REQUEST, new ModifyDistributionList());
/* 134 */     dispatcher.registerHandler(AdminConstants.DELETE_DISTRIBUTION_LIST_REQUEST, new DeleteDistributionList());
/* 135 */     dispatcher.registerHandler(AdminConstants.ADD_DISTRIBUTION_LIST_ALIAS_REQUEST, new AddDistributionListAlias());
/* 136 */     dispatcher.registerHandler(AdminConstants.REMOVE_DISTRIBUTION_LIST_ALIAS_REQUEST, new RemoveDistributionListAlias());
/* 137 */     dispatcher.registerHandler(AdminConstants.RENAME_DISTRIBUTION_LIST_REQUEST, new RenameDistributionList());
/* 138 */     dispatcher.registerHandler(AdminConstants.GET_DISTRIBUTION_LIST_MEMBERSHIP_REQUEST, new GetDistributionListMembership());
/*     */     
/* 140 */     dispatcher.registerHandler(AdminConstants.AUTO_PROV_ACCOUNT_REQUEST, new AutoProvAccount());
/* 141 */     dispatcher.registerHandler(AdminConstants.AUTO_PROV_TASK_CONTROL_REQUEST, new AutoProvTaskControl());
/* 142 */     dispatcher.registerHandler(AdminConstants.SEARCH_AUTO_PROV_DIRECTORY_REQUEST, new SearchAutoProvDirectory());
/*     */     
/* 144 */     dispatcher.registerHandler(AdminConstants.GET_VERSION_INFO_REQUEST, new GetVersionInfo());
/* 145 */     dispatcher.registerHandler(AdminConstants.GET_LICENSE_INFO_REQUEST, new GetLicenseInfo());
/* 146 */     dispatcher.registerHandler(AdminConstants.GET_ATTRIBUTE_INFO_REQUEST, new GetAttributeInfo());
/*     */     
/* 148 */     dispatcher.registerHandler(AdminConstants.REINDEX_REQUEST, new ReIndex());
/* 149 */     dispatcher.registerHandler(AdminConstants.COMPACT_INDEX_REQUEST, new CompactIndex());
/* 150 */     dispatcher.registerHandler(AdminConstants.GET_INDEX_STATS_REQUEST, new GetIndexStats());
/* 151 */     dispatcher.registerHandler(AdminConstants.VERIFY_INDEX_REQUEST, new VerifyIndex());
/* 152 */     dispatcher.registerHandler(AdminConstants.RECALCULATE_MAILBOX_COUNTS_REQUEST, new RecalculateMailboxCounts());
/*     */     
/*     */ 
/* 155 */     dispatcher.registerHandler(AdminConstants.GET_ZIMLET_REQUEST, new GetZimlet());
/* 156 */     dispatcher.registerHandler(AdminConstants.CREATE_ZIMLET_REQUEST, new CreateZimlet());
/* 157 */     dispatcher.registerHandler(AdminConstants.DELETE_ZIMLET_REQUEST, new DeleteZimlet());
/* 158 */     dispatcher.registerHandler(AdminConstants.GET_ADMIN_EXTENSION_ZIMLETS_REQUEST, new GetAdminExtensionZimlets());
/* 159 */     dispatcher.registerHandler(AdminConstants.GET_ZIMLET_STATUS_REQUEST, new GetZimletStatus());
/* 160 */     dispatcher.registerHandler(AdminConstants.GET_ALL_ZIMLETS_REQUEST, new GetAllZimlets());
/* 161 */     dispatcher.registerHandler(AdminConstants.DEPLOY_ZIMLET_REQUEST, new DeployZimlet());
/* 162 */     dispatcher.registerHandler(AdminConstants.UNDEPLOY_ZIMLET_REQUEST, new UndeployZimlet());
/* 163 */     dispatcher.registerHandler(AdminConstants.CONFIGURE_ZIMLET_REQUEST, new ConfigureZimlet());
/* 164 */     dispatcher.registerHandler(AdminConstants.MODIFY_ZIMLET_REQUEST, new ModifyZimlet());
/* 165 */     dispatcher.registerHandler(AdminConstants.DUMP_SESSIONS_REQUEST, new DumpSessions());
/* 166 */     dispatcher.registerHandler(AdminConstants.GET_SESSIONS_REQUEST, new GetSessions());
/*     */     
/*     */ 
/* 169 */     dispatcher.registerHandler(AdminConstants.CREATE_CALENDAR_RESOURCE_REQUEST, new CreateCalendarResource());
/* 170 */     dispatcher.registerHandler(AdminConstants.DELETE_CALENDAR_RESOURCE_REQUEST, new DeleteCalendarResource());
/* 171 */     dispatcher.registerHandler(AdminConstants.MODIFY_CALENDAR_RESOURCE_REQUEST, new ModifyCalendarResource());
/* 172 */     dispatcher.registerHandler(AdminConstants.RENAME_CALENDAR_RESOURCE_REQUEST, new RenameCalendarResource());
/* 173 */     dispatcher.registerHandler(AdminConstants.GET_CALENDAR_RESOURCE_REQUEST, new GetCalendarResource());
/* 174 */     dispatcher.registerHandler(AdminConstants.GET_ALL_CALENDAR_RESOURCES_REQUEST, new GetAllCalendarResources());
/* 175 */     dispatcher.registerHandler(AdminConstants.SEARCH_CALENDAR_RESOURCES_REQUEST, new SearchCalendarResources());
/*     */     
/*     */ 
/* 178 */     dispatcher.registerHandler(AdminConstants.GET_QUOTA_USAGE_REQUEST, new GetQuotaUsage());
/* 179 */     dispatcher.registerHandler(AdminConstants.COMPUTE_AGGR_QUOTA_USAGE_REQUEST, new ComputeAggregateQuotaUsage());
/* 180 */     dispatcher.registerHandler(AdminConstants.GET_AGGR_QUOTA_USAGE_ON_SERVER_REQUEST, new GetAggregateQuotaUsageOnServer());
/*     */     
/* 182 */     dispatcher.registerHandler(AdminConstants.GET_ALL_MAILBOXES_REQUEST, new GetAllMailboxes());
/* 183 */     dispatcher.registerHandler(AdminConstants.GET_MAILBOX_STATS_REQUEST, new GetMailboxStats());
/*     */     
/*     */ 
/* 186 */     dispatcher.registerHandler(AdminConstants.GET_MAIL_QUEUE_INFO_REQUEST, new GetMailQueueInfo());
/* 187 */     dispatcher.registerHandler(AdminConstants.GET_MAIL_QUEUE_REQUEST, new GetMailQueue());
/* 188 */     dispatcher.registerHandler(AdminConstants.MAIL_QUEUE_ACTION_REQUEST, new MailQueueAction());
/* 189 */     dispatcher.registerHandler(AdminConstants.MAIL_QUEUE_FLUSH_REQUEST, new MailQueueFlush());
/*     */     
/* 191 */     dispatcher.registerHandler(AdminConstants.AUTO_COMPLETE_GAL_REQUEST, new AutoCompleteGal());
/* 192 */     dispatcher.registerHandler(AdminConstants.SEARCH_GAL_REQUEST, new SearchGal());
/*     */     
/*     */ 
/* 195 */     dispatcher.registerHandler(AdminConstants.GET_DATA_SOURCES_REQUEST, new GetDataSources());
/* 196 */     dispatcher.registerHandler(AdminConstants.CREATE_DATA_SOURCE_REQUEST, new CreateDataSource());
/* 197 */     dispatcher.registerHandler(AdminConstants.MODIFY_DATA_SOURCE_REQUEST, new ModifyDataSource());
/* 198 */     dispatcher.registerHandler(AdminConstants.DELETE_DATA_SOURCE_REQUEST, new DeleteDataSource());
/*     */     
/*     */ 
/* 201 */     dispatcher.registerHandler(AdminConstants.FIX_CALENDAR_TZ_REQUEST, new FixCalendarTZ());
/*     */     
/* 203 */     dispatcher.registerHandler(AdminConstants.FIX_CALENDAR_END_TIME_REQUEST, new FixCalendarEndTime());
/*     */     
/* 205 */     dispatcher.registerHandler(AdminConstants.FIX_CALENDAR_PRIORITY_REQUEST, new FixCalendarPriority());
/*     */     
/*     */ 
/* 208 */     dispatcher.registerHandler(AdminConstants.GET_ADMIN_SAVED_SEARCHES_REQUEST, new GetAdminSavedSearches());
/* 209 */     dispatcher.registerHandler(AdminConstants.MODIFY_ADMIN_SAVED_SEARCHES_REQUEST, new ModifyAdminSavedSearches());
/*     */     
/* 211 */     dispatcher.registerHandler(AdminConstants.ADD_ACCOUNT_LOGGER_REQUEST, new AddAccountLogger());
/* 212 */     dispatcher.registerHandler(AdminConstants.REMOVE_ACCOUNT_LOGGER_REQUEST, new RemoveAccountLogger());
/* 213 */     dispatcher.registerHandler(AdminConstants.GET_ACCOUNT_LOGGERS_REQUEST, new GetAccountLoggers());
/* 214 */     dispatcher.registerHandler(AdminConstants.GET_ALL_ACCOUNT_LOGGERS_REQUEST, new GetAllAccountLoggers());
/* 215 */     dispatcher.registerHandler(AdminConstants.RESET_ALL_LOGGERS_REQUEST, new ResetAllLoggers());
/*     */     
/* 217 */     dispatcher.registerHandler(AdminConstants.CHECK_DIRECTORY_REQUEST, new CheckDirectory());
/*     */     
/* 219 */     dispatcher.registerHandler(AdminConstants.FLUSH_CACHE_REQUEST, new FlushCache());
/*     */     
/* 221 */     dispatcher.registerHandler(AdminConstants.COUNT_ACCOUNT_REQUEST, new CountAccount());
/* 222 */     dispatcher.registerHandler(AdminConstants.COUNT_OBJECTS_REQUEST, new CountObjects());
/*     */     
/* 224 */     dispatcher.registerHandler(AdminConstants.GET_SHARE_INFO_REQUEST, new GetShareInfo());
/*     */     
/* 226 */     dispatcher.registerHandler(AdminConstants.GET_SERVER_NIFS_REQUEST, new GetServerNIFs());
/*     */     
/*     */ 
/* 229 */     dispatcher.registerHandler(AdminConstants.GET_ALL_FREE_BUSY_PROVIDERS_REQUEST, new GetAllFreeBusyProviders());
/* 230 */     dispatcher.registerHandler(AdminConstants.GET_FREE_BUSY_QUEUE_INFO_REQUEST, new GetFreeBusyQueueInfo());
/* 231 */     dispatcher.registerHandler(AdminConstants.PUSH_FREE_BUSY_REQUEST, new PushFreeBusy());
/* 232 */     dispatcher.registerHandler(AdminConstants.PURGE_FREE_BUSY_QUEUE_REQUEST, new PurgeFreeBusyQueue());
/*     */     
/*     */ 
/* 235 */     dispatcher.registerHandler(AdminConstants.PURGE_ACCOUNT_CALENDAR_CACHE_REQUEST, new PurgeAccountCalendarCache());
/*     */     
/*     */ 
/* 238 */     dispatcher.registerHandler(AdminConstants.GET_DELEGATED_ADMIN_CONSTRAINTS_REQUEST, new GetDelegatedAdminConstraints());
/* 239 */     dispatcher.registerHandler(AdminConstants.GET_RIGHTS_DOC_REQUEST, new GetRightsDoc());
/* 240 */     dispatcher.registerHandler(AdminConstants.GET_RIGHT_REQUEST, new GetRight());
/* 241 */     dispatcher.registerHandler(AdminConstants.GET_ADMIN_CONSOLE_UI_COMP_REQUEST, new GetAdminConsoleUIComp());
/* 242 */     dispatcher.registerHandler(AdminConstants.GET_ALL_EFFECTIVE_RIGHTS_REQUEST, new GetAllEffectiveRights());
/* 243 */     dispatcher.registerHandler(AdminConstants.GET_ALL_RIGHTS_REQUEST, new GetAllRights());
/* 244 */     dispatcher.registerHandler(AdminConstants.GET_EFFECTIVE_RIGHTS_REQUEST, new GetEffectiveRights());
/* 245 */     dispatcher.registerHandler(AdminConstants.GET_CREATE_OBJECT_ATTRS_REQUEST, new GetCreateObjectAttrs());
/* 246 */     dispatcher.registerHandler(AdminConstants.GET_GRANTS_REQUEST, new GetGrants());
/* 247 */     dispatcher.registerHandler(AdminConstants.CHECK_RIGHT_REQUEST, new CheckRight());
/* 248 */     dispatcher.registerHandler(AdminConstants.GRANT_RIGHT_REQUEST, new GrantRight());
/* 249 */     dispatcher.registerHandler(AdminConstants.MODIFY_DELEGATED_ADMIN_CONSTRAINTS_REQUEST, new ModifyDelegatedAdminConstraints());
/* 250 */     dispatcher.registerHandler(AdminConstants.REVOKE_RIGHT_REQUEST, new RevokeRight());
/*     */     
/*     */ 
/* 253 */     dispatcher.registerHandler(AdminConstants.ADMIN_CREATE_WAIT_SET_REQUEST, new AdminCreateWaitSetRequest());
/* 254 */     dispatcher.registerHandler(AdminConstants.ADMIN_WAIT_SET_REQUEST, new AdminWaitSetRequest());
/* 255 */     dispatcher.registerHandler(AdminConstants.ADMIN_DESTROY_WAIT_SET_REQUEST, new AdminDestroyWaitSetRequest());
/* 256 */     dispatcher.registerHandler(AdminConstants.QUERY_WAIT_SET_REQUEST, new QueryWaitSet());
/*     */     
/*     */ 
/* 259 */     dispatcher.registerHandler(AdminConstants.CREATE_XMPPCOMPONENT_REQUEST, new CreateXMPPComponent());
/* 260 */     dispatcher.registerHandler(AdminConstants.GET_XMPPCOMPONENT_REQUEST, new GetXMPPComponent());
/* 261 */     dispatcher.registerHandler(AdminConstants.GET_ALL_XMPPCOMPONENTS_REQUEST, new GetAllXMPPComponents());
/* 262 */     dispatcher.registerHandler(AdminConstants.DELETE_XMPPCOMPONENT_REQUEST, new DeleteXMPPComponent());
/*     */     
/* 264 */     dispatcher.registerHandler(AdminConstants.GET_SERVER_STATS_REQUEST, new GetServerStats());
/* 265 */     dispatcher.registerHandler(AdminConstants.GET_LOGGER_STATS_REQUEST, new GetLoggerStats());
/* 266 */     dispatcher.registerHandler(AdminConstants.SYNC_GAL_ACCOUNT_REQUEST, new SyncGalAccount());
/*     */     
/*     */ 
/* 269 */     dispatcher.registerHandler(AdminConstants.RELOAD_MEMCACHED_CLIENT_CONFIG_REQUEST, new ReloadMemcachedClientConfig());
/* 270 */     dispatcher.registerHandler(AdminConstants.GET_MEMCACHED_CLIENT_CONFIG_REQUEST, new GetMemcachedClientConfig());
/*     */     
/*     */ 
/* 273 */     dispatcher.registerHandler(AdminConstants.RELOAD_LOCAL_CONFIG_REQUEST, new ReloadLocalConfig());
/*     */     
/*     */ 
/* 276 */     dispatcher.registerHandler(AdminConstants.MIGRATE_ACCOUNT_REQUEST, new MigrateAccount());
/*     */     
/*     */ 
/* 279 */     dispatcher.registerHandler(AdminConstants.NO_OP_REQUEST, new NoOp());
/*     */     
/*     */ 
/* 282 */     dispatcher.registerHandler(AdminConstants.CLEAR_COOKIE_REQUEST, new ClearCookie());
/* 283 */     dispatcher.registerHandler(AdminConstants.LOCKOUT_MAILBOX_REQUEST, new LockoutMailbox());
/* 284 */     dispatcher.registerHandler(AdminConstants.REFRESH_REGISTERED_AUTHTOKENS_REQUEST, new RefreshRegisteredAuthTokens());
/*     */     
/*     */ 
/* 287 */     dispatcher.registerHandler(AdminConstants.GET_SYSTEM_RETENTION_POLICY_REQUEST, new GetSystemRetentionPolicy());
/* 288 */     dispatcher.registerHandler(AdminConstants.CREATE_SYSTEM_RETENTION_POLICY_REQUEST, new CreateSystemRetentionPolicy());
/* 289 */     dispatcher.registerHandler(AdminConstants.MODIFY_SYSTEM_RETENTION_POLICY_REQUEST, new ModifySystemRetentionPolicy());
/* 290 */     dispatcher.registerHandler(AdminConstants.DELETE_SYSTEM_RETENTION_POLICY_REQUEST, new DeleteSystemRetentionPolicy());
/*     */     
/*     */ 
/* 293 */     dispatcher.registerHandler(AdminConstants.VERIFY_STORE_MANAGER_REQUEST, new VerifyStoreManager());
/*     */     
/*     */ 
/* 296 */     dispatcher.registerHandler(AdminConstants.GET_ALL_SKINS_REQUEST, new GetAllSkins());
/*     */     
/* 298 */     dispatcher.registerHandler(AdminConstants.GET_ALL_ACTIVE_SERVERS_REQUEST, new GetAllActiveServers());
/* 299 */     dispatcher.registerHandler(AdminConstants.SET_SERVER_OFFLINE_REQUEST, new SetServerOffline());
/* 300 */     dispatcher.registerHandler(AdminConstants.SET_LOCAL_SERVER_ONLINE_REQUEST, new SetLocalServerOnline());
/*     */   }
/*     */   
/*     */ 
/*     */ 
/*     */ 
/*     */   public static Map<String, Object> getAttrs(Element request)
/*     */     throws ServiceException
/*     */   {
/* 309 */     return getAttrs(request, false);
/*     */   }
/*     */   
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   public static Map<String, Object> getAttrs(Element request, boolean ignoreEmptyValues)
/*     */     throws ServiceException
/*     */   {
/* 328 */     Map<String, Object> result = new HashMap();
/* 329 */     for (Element a : request.listElements("a")) {
/* 330 */       String name = a.getAttribute("n");
/* 331 */       String value = a.getText();
/* 332 */       if ((!ignoreEmptyValues) || ((value != null) && (value.length() > 0)))
/* 333 */         StringUtil.addToMultiMap(result, name, value);
/*     */     }
/* 335 */     return result;
/*     */   }
/*     */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/service/admin/AdminService.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */